/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cmti.skeleton.dto;

import java.util.List;

import com.cmti.skeleton.entity.SysDept;

/**
 *
 * @author Worker
 */
public class SysDeptDto extends SysDept {

    private String parentDeptName;  //父部门名称
    private List<SysDeptDto> subDepts;   // 子部门集合

    /**
     * @return the parentDeptName
     */
    public String getParentDeptName() {
        return parentDeptName;
    }

    /**
     * @param parentDeptName the parentDeptName to set
     */
    public void setParentDeptName(String parentDeptName) {
        this.parentDeptName = parentDeptName;
    }

    /**
     * @return the subDepts
     */
    public List<SysDeptDto> getSubDepts() {
        return subDepts;
    }

    /**
     * @param subDepts the subDepts to set
     */
    public void setSubDepts(List<SysDeptDto> subDepts) {
        this.subDepts = subDepts;
    }
}
